Skip to content

Add additional tests for maps functionality - #4

Merged
gmaclennan merged 23 commits into
mainfrom
chore/maps-tests
Jan 28, 2026
Merged

Add additional tests for maps functionality#4
gmaclennan merged 23 commits into
mainfrom
chore/maps-tests

Conversation

@gmaclennan

Copy link
Copy Markdown
Member

Introduce new tests for error handling and resource management in the maps module, including scenarios for deleting and uploading maps, as well as structured error responses. Enhance error codes to improve clarity in responses.

@gmaclennan gmaclennan self-assigned this Jan 21, 2026
@gmaclennan gmaclennan mentioned this pull request Jan 21, 2026
* feat/map-sharing:
  pin ky@1.7.5 to fix node18 hang
  add tests from review
  Switch errors to .message not .error
  fix map shares test
@socket-security

socket-security Bot commented Jan 22, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtypescript-eslint@​8.53.11001007498100
Addedp-mutex@​0.1.0771009180100
Addednpm-run-all2@​7.0.2991009986100

View full report

@codecov

codecov Bot commented Jan 22, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Base automatically changed from feat/map-sharing to main January 27, 2026 22:09

@RangerMauve RangerMauve left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick on package.json autoformat but LGTM overall

Comment thread package.json
"src/",
"dist/"
]
"name": "@comapeo/map-server",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was converting spaces to tabs here intentional / necessary? I think it'll be reverted next time npm writes to the file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no idea how that happened... going to leave for now since other branches are stacked on this and I don't want to deal with resolving this for each merge - I'll fix after.

@gmaclennan
gmaclennan merged commit 94e46e2 into main Jan 28, 2026
12 checks passed
@gmaclennan
gmaclennan deleted the chore/maps-tests branch January 28, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants